package calorie.com.calorie.response;

import java.util.List;

public class BannerResponce {

    /**
     * code : 200
     * msg : success
     * data : [{"id":2,"address":"456.png","comment":"b","sequence":1},{"id":3,"address":"789.png","comment":"c","sequence":2},{"id":1,"address":"123.png","comment":"a","sequence":3}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * address : 456.png
         * comment : b
         * sequence : 1
         */

        private int id;
        private String address;
        private String comment;
        private int sequence;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public int getSequence() {
            return sequence;
        }

        public void setSequence(int sequence) {
            this.sequence = sequence;
        }
    }
}
